{include file="public/_nav" /}

<div class="container content">
    <div class="jumbotron">
        <h1>梦中PHP！</h1>
        <p>梦中PHP，英文名DreamPHP，是一个专注于ThinkPHP、Laravel开发的教程网站，
            网站提供视频教程和文章教程，用户可以通过投高质量的视频和文章，从而获取收益，
            具体收益请去投稿中心看详情。</p>
    </div>

    <ol class="breadcrumb">
        导航位置：<li><a href="#">首页</a></li>
    </ol>
    <div class="row">
        <div class="col-md-2 hidden-xs">
            <div class="h4 description">推荐文章</div>
            <div class="list-group article">
                <a href="#" class="list-group-item">ThinkPHP</a>
                <a href="#" class="list-group-item">Laravel</a>
                <a href="#" class="list-group-item">Yii</a>
                <a href="#" class="list-group-item">Ci</a>
            </div>
        </div>
        <div class="col-md-8">
            <div class="course-list">
                {volist name="articlesInfo" id="vo"}
                <div class="course-list-item">
                    <a href="{:url('index/index/article', ['id' => $vo.id])}" class="course-title">{$vo.title}</a>
                    <div class="course-info">
                        <span class="course-time">创建于3个月前</span>-
                        <span class="gitee"><a href="#">码云地址</a></span>
                    </div>
                </div>
                {/volist}
            </div>
            <nav>
                {$articlesInfo->render()|raw}
            </nav>
        </div>
        <div class="col-md-2 hidden-xs">
            <div class="h4 description">推荐视频</div>
            <div class="list-group article">
                <a href="#" class="list-group-item">ThinkPHP</a>
                <a href="#" class="list-group-item">Laravel</a>
                <a href="#" class="list-group-item">Yii</a>
                <a href="#" class="list-group-item">Ci</a>
            </div>
        </div>
    </div>
</div>

{include file="public/_js" /}
</body>
</html>